package com.csr.csrcheck.mapper;

import com.csr.csrcheck.pojo.Business_risks;
import com.csr.csrcheck.pojo.Risk_classify;
import com.csr.csrcheck.pojo.Risk_type;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface Business_risksMapper {
    List<Business_risks> getBusiness_riskslist();

    List<Business_risks> getListpage(@Param("company_name") String paramString);

    int addBusiness(Business_risks paramBusiness_risks);

    int updateBusiness(Business_risks paramBusiness_risks);

    int deleteBusiness(int paramInt);

    List<Risk_classify> findbylistclassify();

    List<Risk_type> findbylisttype();

    Business_risks findlistbyid(int paramInt);
}
